package com.thougtful.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @author yushun
 * @createTime 2022/10/17 - 17:30
 **/
@Getter
@ToString
@AllArgsConstructor
public enum RpcResponseCodeEnum {

    SUCCESS(200, "The remote call is successful"),

    FAIL(500, "The remote call is fail"),
    ;

    private final int code;

    private final String message;

}
